<?php
session_start();
include_once("function_right.php");
if(!JudgeUserRight()) return FALSE;
?>

<?php
include_once "function_obj_ip.php";

$in_array['Name'] = base64_encode($_POST['objname']);
$in_array['ObjectList'] = ereg_replace(",$", "",$_POST['txt_selbranch']);

AppendXmlIpGroup($in_array);

include "function_misc_log.php";
$in_array['Name'] = "'". ($in_array['Name']). "'";
$in_array['ObjectList'] = "'". $in_array['ObjectList']. "'";
logger("Add", $in_array,"Object_Ip_Group");

include "function_web_misc.php";
PrintSuccessPageAndJump('obj_ip_group_list.php');
//echo("<meta http-equiv='refresh'content=0;URL='obj_ip_group_list.php'>");
?>
